<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
	<meta http-equiv="content-type" content="application/xhtml+xml" />
	<meta charset="utf-8" />
	<meta name="application-name" content="CliWiki" />
	<title>CliWiki - Stand alone client Wiki</title>
	<link rel="stylesheet" type="text/css" href="compatibility.css" />
	<link rel="stylesheet" type="text/css" href="cliwiki.css" />
	<link rel="stylesheet" type="text/css" href="cliwiki.print.css" media="print" />
	<link rel="SHORTCUT ICON" href="icon_16.png" />
	<script src="jquery-1.7.2.min.js"></script>
	<script src="./lib/marked/marked.js"></script>

	<script src="extension.String.js"></script>
	<script src="extension.Date.js"></script>
	<script src="Html5Feature.js"></script>
	<script src="Preference.js"></script>
	<script src="TextCatalogue.js"></script>
	<script src="CliWikiFormatter.js"></script>
	<script src="MarkdownFormatter.js"></script>
	<script src="WikiPageStocker.js"></script>
	<script src="DiffExtractor.js"></script>
	<script src="PageSearcher.js"></script>
	<script src="CliWikiUI.js"></script>
	<script src="CliWiki.js"></script>
</head>
<body role="application">
	<header id="pageHeader" role="banner">
		<h1><img class="icon" src="./res/chestnut.svg" align="left" />
			CliWiki - Stand alone client Wiki</h1>
		<nav>
			<ul id="globalMenu">
				<li><form><input type="search" id="searchKeyword" placeholder="Keyword" title="Keyword" required="required"/><button type="button" id="searchButton" disabled="disabled"><span lang="ja">検索</span><span lang="en">Search</span></button></form></li>
				<li><a href="#" title="FrontPage"><span lang="ja">FrontPage</span><span lang="en">FrontPage</span></a></li>
				<li><a id="pageListMenuItem" href="#"><span lang="ja">ページ一覧</span><span lang="en">Page list</span></a></li>
				<li><a id="updateHistoryMenuItem" href="#"><span lang="ja">更新履歴</span><span lang="en">Update history</span></a></li>
				<li id="preferenceMenuItem"><a href="#"><span lang="ja">設定</span><span lang="en">Preference</span></a></li>
				<li><a id="help" href="help.ja.html" target="_blank"><span lang="ja">ヘルプ</span><span lang="en">Help</span></a></li>
			</ul>
		</nav>
	</header>
	<div id="content">
		<div id="row">
			<aside id="sideBarMenu" role="complementary">
				<nav role="navigation">
					<h1><span lang="ja">コンテンツ</span><span lang="en">Contents</span></h1>
					<ul id="pageIndex">
						<li>FrontPage</li>
						<li>SandBox</li>
					</ul>
					<form><input type="text" id="wikiName" placeholder="Page name" title="Page name" required="required" /><button type="button" id="showPageButton" disabled="disabled">&gt;&gt;</button></form>
				</nav>
				<nav>
					<h1><span lang="ja">最近の更新</span><span lang="en">Recent updates</span></h1>
					<div id="recentUpdateContent">
					</div>
				</nav>
			</aside>
			<div id="sectionContainer">
				<section id="page">
					<article role="main">
						<div id="container">
							<menu type="toolbar">
								<li><button type="button" id="editButton" class="presentation"><span lang="ja">編集</span><span lang="en">Edit</span></button></li>
								<li><button type="button" id="cancelButton"  class="edit"><span lang="ja">取消</span><span lang="en">Cancel</span></button></li>
								<li><button type="button" id="updateButton"  class="edit"><span lang="ja">更新</span><span lang="en">Update</span></button></li>
							</menu>
							<details id="source">
								<summary><span><span lang="ja">ソース</span><span lang="en">Source</span> - <span id="sourcePageName"></span></span></summary>
								<h2><span lang="ja">タイトル</span><span lang="en">Title</span></h2>
								<div><input type="text" id="sourceTitle" size="40"/></label></div>
								<h2><span lang="ja">本文</span><span lang="en">Contents</span></h2>
								<div>
									<label for="pageMarkUpStyle"><span lang="ja">マークアップ</span><span lang="en">Mark up</span>:</label>
									<select id="pageMarkUpStyle">
										<option value="cliwiki">CliWiki(like Hiki)</option>
										<option value="markdown">Markdown</option>
									</select>
								</div>
								<textarea id="sourceContent" rows="20"></textarea>
								<div id="separator"><strong> - <span lang="ja">プレビュー</span><span lang="en">Preview</span> - </strong></div>
							</details>
							<div id="presentation">
								<h1 id="presentationTitle">FrontPage</h1>
								<div id="presentationContent">HTML</div>
							</div>
						</div>
						<footer>
							<p><span lang="ja">更新日時</span><span lang="en">Update time</span>: <time id="contentLastUpdateTime">-</time></p>
						</footer>
					</article>
				</section>
				<section id="pageList">
					<h1><span lang="ja">ページ一覧</span><span lang="en">Page list</span></h1>
					<table id="pageListTable" class="pageInfo">
						<thead>
							<tr>
								<th class="pageName">
									<span lang="ja">タイトル(ページ名)</span>
									<span lang="en">Title(Page name)</span>
								</th>
								<th class="lastUpdateTime">
									<span lang="ja">最終更新日時</span>
									<span lang="en">Last update time</span>
								</th>
								<th class="updateCount">
									<span lang="ja">更新回数</span>
									<span lang="en">Count</span>
								</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>(FrontPage)FrontPage</td>
								<td>2012-07-24T00:00:00+0900</td>
								<td>0</td>
							</tr>
						</tbody>
					</table>
				</section>
				<section id="updateHistory">
					<h1><span lang="ja">更新履歴</span><span lang="en">Update history</span></h1>
					<table id="updateHistoryTable" class="pageInfo">
						<thead>
							<tr>
							<tr>
								<th class="lastUpdateTime">
									<span lang="ja">最終更新日時</span>
									<span lang="en">Last update time</span>
								</th>
								<th class="pageName">
									<span lang="ja">タイトル(ページ名)</span>
									<span lang="en">Title(Page name)</span>
								</th>
								<th class="updateCount">
									<span lang="ja">更新回数</span>
									<span lang="en">Count</span>
								</th>
							</tr>
						</thead>
						<tbody>
							<tr>
								<td>2012-07-24T00:00:00+0900</td>
								<td>(FrontPage)FrontPage</td>
								<td>0</td>
							</tr>
						</tbody>
					</table>
				</section>
				<section id="pageUpdateHistory">
					<h1>
						<span lang="ja">ページ更新履歴</span>
						<span lang="en">Page update history</span>
						- <span id="pageUpdateHistoryPageName"></span>
					</h1>
					<table class="historyInfo">
						<thead>
							<tr>
								<th></th>
								<th>
									<span lang="ja">更新日時 / タイトル</span>
									<span lang="en">Update time / Title</span>
								</th>
								<th class="operation"></th>
							</tr>
						</thead>
						<tbody id="pageUpdateHistoryList">
						</tbody>
					</table>
				</section>
				<section id="pageDifference">
					<nav>
						<ul>
							<li><a id="pageDifferenceViewLatest" href="#"><span lang="ja">最新版表示</span><span lang="en">View latest revision</span></a></li>
							<li><a id="pageDifferenceViewUpdate" href="#"><span lang="ja">ページ更新履歴</span><span lang="en">Page update history</span></a></li>
						</ul>
					</nav>
					<h1><span lang="ja">差分</span><span lang="en">Difference</span> - <span id="pageDifferencePageName"></span></h1>
					<table class="difference">
						<thead>
							<tr>
								<th><span id="pageDiffFromPageUpdateTime"></span><br /><span id="pageDiffFromPageTitle"></span></th>
								<th><span id="pageDiffToPageUpdateTime"></span><br /><span id="pageDiffToPageTitle"></span></th>
							</tr>
						</thead>
						<tbody id="pageDiffSequence">
						</tbody>
					</table>
				</section>
				<section id="searchResult">
					<h1>
						<span lang="ja">検索結果</span>
						<span lang="en">Search result</span>
						- <span id="searchResultKeyword"></span>
					</h1>
					<p>
						<div id="searchingMessage">
							<span lang="ja">検索中……</span>
							<span lang="en">Searching...</span>
						</div>
						<div id="foundMessage">
							<span lang="ja"><span class="totalPages">n</span> ページ中 <span class="foundPages"></span> ページ見つかりました。</span>
							<span lang="en">Found <span class="totalPages">n</span> page(s) in <span class="foundPages"></span> page(s).</span>
						</div>
						<div id="notFoundMessage">
							<span lang="ja">見つかりませんでした。</span>
							<span lang="en">Not found.</span>
						</div>
					</p>
					<table id="searchResultTable" class="historyInfo">
						<thead>
							<tr>
								<th>
									<span lang="ja">タイトル / 内容</span>
									<span lang="en">Title / Content</span>
								</th>
							</tr>
						</thead>
						<tbody id="searchResultList">
							<tr>
								<td>SandBox<br />Powershift</td>
							</tr>
						</tbody>
					</table>
				</section>
				<section id="preference">
					<h1><span lang="ja">設定</span><span lang="en">Preference</span></h1>
					<form>
						<fieldset>
							<legend><span lang="ja">表示</span><span lang="en">Display</span></legend>

							<p>
								<label for="displayLanguage"><span lang="ja">言語</span><span lang="en">Language</span>:</label>
								<select id="displayLanguage">
									<option value="en">English</option>
									<option value="ja">日本語</option>
								</select>
							</p>
							<p id="allowFileSchemePreference">
								<label><input type="checkbox" id="allowFileScheme" name="allowFileScheme" value="1" /><span lang="ja">ローカルファイルへのリンクを有効にする。</span><span lang="en">Allow local file link.</span></label>
							</p>
						</fieldset>

						<fieldset>
							<legend><span lang="ja">編集</span><span lang="en">Edit</span></legend>

							<p>
								<label for="markUpStyle"><span lang="ja">既定のマークアップ</span><span lang="en">Default mark up</span>:</label>
								<select id="markUpStyle">
									<option value="cliwiki">CliWiki(like Hiki)</option>
									<option value="markdown">Markdown</option>
								</select>
							</p>
							<p>
								<label for="edittorRowLineCount"><span lang="ja">本文編集エリア行数</span><span lang="en">Contents editor row line count</span>:</label>
							<span lang="ja">小</span><span lang="en">Min</span><input id="edittorRowLineCount" type="range" min="5" max="99" step="1" /><span lang="ja">大</span><span lang="en">Max</span>
							</p>
						</fieldset>

						<fieldset>
							<legend><span lang="ja">ページデータ</span><span lang="en">Page data</span></legend>
							<p><span lang="ja">エクスポート</span><span lang="en">Export</span>: <a id="exportAsFileLink" href="#"><span lang="ja">ファイルとしてエクスポート</span><span lang="en">Export as a file</span></a></p>
							<p><span lang="ja">インポート</span><span lang="en">Import</span>: <input type="file" id="importFileData" /><span id="importMessage"></span></p>
						</fieldset>
					</form>
				</section>
			</div>
		</div>
	</div>
	<footer id="pageFooter" role="contentInfo">
		<p id="version">CliWiki Ver.0.01.005</p>
		<p><a href="http://www.est.co.jp" target="_blank">EAST Co., Ltd.</a></p>
	</footer>
</body>
</html>
